package com.eco.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.bean.Liabilities;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LiabilitiesMapper extends BaseMapper<Liabilities> {

    @Select("SELECT * FROM liabilities WHERE liability_type = #{liabilityType}")
    Liabilities selectByType(@Param("liabilityType") String liabilityType);
}